package com.example.design.constant;

import lombok.Getter;

/**
 * @Description:策略选择枚举
 * @Author Hong Qiang
 * @Date 2023/3/10 16:14
 * @Version 1.0
 */
@Getter
public enum StrategySelector {

    strategyA(1,"strategyA"),
    strategyB(2,"strategyB"),
    strategyC(3,"strategyC");

    private Integer code;
    private String strategy;

    StrategySelector(Integer code, String strategy) {
        this.code = code;
        this.strategy = strategy;
    }
}
